<html>
  <head>
    <title>Flecs Tower Defense</title>
    <link rel="icon" href="img/flecs_logo.png" />
  </head>
  <body style="background-color: #101115; color: #DDE0E6;">  
    <!-- Create the canvas that the C++ code will draw into -->
    <span style="font-family: Arial, Helvetica, sans-serif;">
      [ <a style="color: #A2D8B4;" 
        href="https://github.com/SanderMertens/tower_defense" 
        target="_blank">
        Source
      </a> ]
      [ <a style="color: #A2D8B4;" 
        href="https://www.flecs.dev/explorer/?wasm=https://www.flecs.dev/tower_defense/etc/tower_defense.js" 
        target="_blank">
        Open in Explorer
      </a> ]
      &nbsp;-&nbsp;
      Use WASD + QE to move camera, arrow keys to look around
    </span>

    <canvas id="canvas" 
      style="width: 100%; height: 100%;">
    </canvas>

    <script src="tower_defense.js"></script>

    <script type='text/javascript'>
      tower_defense();
    </script>
  </body>
</html>
